package com.kitemap.widget.events
{
	import com.kitemap.widget.model.ProfileModel;

	import flash.events.Event;    

	public class AuthenticationEvent extends Event
    {
        
        /*-.........................................Constants..........................................*/
        public static const GOTO_LOGIN_PAGE:String = 'AuthenticationEvent.GOTO_LOGIN_PAGE';
        public static const GOTO_LOGOUT_PAGE:String = 'AuthenticationEvent.GOTO_LOGOUT_PAGE';
        public static const LOGIN:String = 'AuthenticationEvent.LOGIN';
        public static const LOGIN_RESULT:String = 'AuthenticationEvent.LOGIN_RESULT';
        public static const LOGOUT:String = 'AuthenticationEvent.LOGOUT';
        
        
        /*-.........................................Properties..........................................*/
        public var profile:ProfileModel;

        
        /*-.........................................Constructor..........................................*/
        public function AuthenticationEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
        {
            super(type, bubbles, cancelable);
        }
        
    }
}